package com.mycampus.crawler.ruc;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class RucListModel {

    @JSONField(name = "state")
    private Integer state;
    @JSONField(name = "msg")
    private String msg;
    @JSONField(name = "object")
    private ObjectDTO object;
    @JSONField(name = "jessionid")
    private String jessionid;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ObjectDTO getObject() {
        return object;
    }

    public void setObject(ObjectDTO object) {
        this.object = object;
    }

    public String getJessionid() {
        return jessionid;
    }

    public void setJessionid(String jessionid) {
        this.jessionid = jessionid;
    }

    public static class ObjectDTO {
        @JSONField(name = "pageNo")
        private Integer pageNo;
        @JSONField(name = "pageSize")
        private Integer pageSize;
        @JSONField(name = "count")
        private Integer count;
        @JSONField(name = "firstPage")
        private Boolean firstPage;
        @JSONField(name = "lastPage")
        private Boolean lastPage;
        @JSONField(name = "length")
        private Integer length;
        @JSONField(name = "list")
        private List<ListDTO> list;
        @JSONField(name = "firstResult")
        private Integer firstResult;
        @JSONField(name = "maxResults")
        private Integer maxResults;
        @JSONField(name = "totalPage")
        private Integer totalPage;
        @JSONField(name = "cauFrontPageStr")
        private String cauFrontPageStr;

        public Integer getPageNo() {
            return pageNo;
        }

        public void setPageNo(Integer pageNo) {
            this.pageNo = pageNo;
        }

        public Integer getPageSize() {
            return pageSize;
        }

        public void setPageSize(Integer pageSize) {
            this.pageSize = pageSize;
        }

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }

        public Boolean getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(Boolean firstPage) {
            this.firstPage = firstPage;
        }

        public Boolean getLastPage() {
            return lastPage;
        }

        public void setLastPage(Boolean lastPage) {
            this.lastPage = lastPage;
        }

        public Integer getLength() {
            return length;
        }

        public void setLength(Integer length) {
            this.length = length;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public Integer getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(Integer firstResult) {
            this.firstResult = firstResult;
        }

        public Integer getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(Integer maxResults) {
            this.maxResults = maxResults;
        }

        public Integer getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(Integer totalPage) {
            this.totalPage = totalPage;
        }

        public String getCauFrontPageStr() {
            return cauFrontPageStr;
        }

        public void setCauFrontPageStr(String cauFrontPageStr) {
            this.cauFrontPageStr = cauFrontPageStr;
        }

        public static class ListDTO {
            @JSONField(name = "id")
            private String id;
            @JSONField(name = "corporationinfo")
            private CorporationinfoDTO corporationinfo;
            @JSONField(name = "title")
            private String title;
            @JSONField(name = "positionType")
            private String positionType;
            @JSONField(name = "startTime")
            private String startTime;
            @JSONField(name = "endTime")
            private String endTime;
            @JSONField(name = "isTop")
            private String isTop;
            @JSONField(name = "positionNum")
            private Integer positionNum;
            @JSONField(name = "education")
            private String education;
            @JSONField(name = "majorName")
            private String majorName;
            @JSONField(name = "flag")
            private Boolean flag;
            @JSONField(name = "topFlag")
            private String topFlag;
            @JSONField(name = "isFrontShow")
            private String isFrontShow;
            @JSONField(name = "url")
            private String url;
            @JSONField(name = "officeIds")
            private String officeIds;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public CorporationinfoDTO getCorporationinfo() {
                return corporationinfo;
            }

            public void setCorporationinfo(CorporationinfoDTO corporationinfo) {
                this.corporationinfo = corporationinfo;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPositionType() {
                return positionType;
            }

            public void setPositionType(String positionType) {
                this.positionType = positionType;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getIsTop() {
                return isTop;
            }

            public void setIsTop(String isTop) {
                this.isTop = isTop;
            }

            public Integer getPositionNum() {
                return positionNum;
            }

            public void setPositionNum(Integer positionNum) {
                this.positionNum = positionNum;
            }

            public String getEducation() {
                return education;
            }

            public void setEducation(String education) {
                this.education = education;
            }

            public String getMajorName() {
                return majorName;
            }

            public void setMajorName(String majorName) {
                this.majorName = majorName;
            }

            public Boolean getFlag() {
                return flag;
            }

            public void setFlag(Boolean flag) {
                this.flag = flag;
            }

            public String getTopFlag() {
                return topFlag;
            }

            public void setTopFlag(String topFlag) {
                this.topFlag = topFlag;
            }

            public String getIsFrontShow() {
                return isFrontShow;
            }

            public void setIsFrontShow(String isFrontShow) {
                this.isFrontShow = isFrontShow;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getOfficeIds() {
                return officeIds;
            }

            public void setOfficeIds(String officeIds) {
                this.officeIds = officeIds;
            }

            public static class CorporationinfoDTO {
                @JSONField(name = "id")
                private String id;
                @JSONField(name = "name")
                private String name;
                @JSONField(name = "logoUrl")
                private String logoUrl;
                @JSONField(name = "flag")
                private Boolean flag;
                @JSONField(name = "corporationScaleValue")
                private String corporationScaleValue;
                @JSONField(name = "corporationNatureValue")
                private String corporationNatureValue;
                @JSONField(name = "url")
                private String url;
                @JSONField(name = "corporationinfoIntroduction")
                private String corporationinfoIntroduction;
                @JSONField(name = "roleNames")
                private String roleNames;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getLogoUrl() {
                    return logoUrl;
                }

                public void setLogoUrl(String logoUrl) {
                    this.logoUrl = logoUrl;
                }

                public Boolean getFlag() {
                    return flag;
                }

                public void setFlag(Boolean flag) {
                    this.flag = flag;
                }

                public String getCorporationScaleValue() {
                    return corporationScaleValue;
                }

                public void setCorporationScaleValue(String corporationScaleValue) {
                    this.corporationScaleValue = corporationScaleValue;
                }

                public String getCorporationNatureValue() {
                    return corporationNatureValue;
                }

                public void setCorporationNatureValue(String corporationNatureValue) {
                    this.corporationNatureValue = corporationNatureValue;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public String getCorporationinfoIntroduction() {
                    return corporationinfoIntroduction;
                }

                public void setCorporationinfoIntroduction(String corporationinfoIntroduction) {
                    this.corporationinfoIntroduction = corporationinfoIntroduction;
                }

                public String getRoleNames() {
                    return roleNames;
                }

                public void setRoleNames(String roleNames) {
                    this.roleNames = roleNames;
                }
            }
        }
    }
}
